﻿

function checkData(){	
	var yourPWD=document.getElementById("yourPWD").value;
	var newPWD=document.getElementById("newPWD").value;
	var cfmPWD=document.getElementById("cfmPWD").value;
	var rs_yourPWD=true;
	var rs_newPWD=true;
	var rs_cfmPWD=true;
	var rs_eqnewPWD=true;
	
	
	
	if(newPWD.length==0){
		alert("密码长度不能为空");
		return false;
	}
	
	if(cfmPWD.length==0){
	
		alert("密码长度不能为空");
		return false;
	}
	
	if(newPWD!=cfmPWD){
	
		alert("两次输入密码不一致！");
		return false;
	}
	
	}
	
	
	
	
	